<?php

echo "<h2>".$this->page->title."</h2>";
echo "<span>发表于：".date('Y-m-d',$this->page->createtime)."</span>";
echo "<span>更新于：".date('Y-m-d',$this->page->updatetime)."</span>";
echo "<hr />";
echo $this->page->body;

echo "<h3>其它新闻</h3>";
if ($this->pages){
    echo "<ul class = 'listNews'>";
    echo $this->partialLoop('partials/row-pages.phtml', $this->pages);
    echo "</ul>";
}